const state = {
  showTopActive: true,
  subMenu: []
}

const mutations = {
  setSubMenu(state, list) {
    state.subMenu = list
  },
  setTopActive(state, bool) {
    state.showTopActive = bool
  },
}

export default {
  namespaced: true,
  state,
  mutations
}